package com.skzh.common.core.domain.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.skzh.common.annotation.Excel;
import com.skzh.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 飞手信息对象 pilot_info
 *
 * @author skzh
 * @date 2024-06-24
 */
@Data
public class PilotInfok extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String idNumber;

    /**
     * 出生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /**
     * 居住地
     */
    @Excel(name = "居住地")
    private String residence;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phoneNumber;

    /**
     * 证书取得日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "证书取得日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date certificateDate;

    /**
     * 证书类型
     */
    @Excel(name = "证书类型")
    private String certificateType;

    /**
     * 证书等级
     */
    @Excel(name = "证书等级")
    private String certificateLevel;

    /**
     * 从业时间（年）
     */
    @Excel(name = "从业时间")
    private String experience;


    /**
     * 所属地区
     */
    @Excel(name = "所属地区")
    private String region;

}
